export const routes = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '/home',
    // component: Home
    component: () => import('@modules/home/Index.vue')
  },
  {
    path: '/about',
    component: () => import('@modules/about/Index.vue')
  },
  // ! 测试scaffold-页面路由配置 start
  {
    path: '/test-vuex',
    component: () => import('@modules/test/vuex.vue')
  },
  {
    path: '/test-tsx',
    component: () => import('@/modules/components/test/tsx')
  },
  {
    path: '/test-vue-tsx',
    component: () => import('@/modules/components/test/vue-tsx')
  },
  // ! 测试scaffold-页面路由配置 end
  // {
  //     path: '/:pathMatch(.*)*',
  //     name: '404',
  //     component: () => import('@modules/error/404.vue')
  // }
]
